//Page Object
import route from "../../utils/route"
Page({
    data: {

    },
    //options(Object)
    onLoad: function (options) {
        var curPages = getCurrentPages();
        console.log("当前页面wallet_detail_3=>路由栈:");
        console.log(curPages);
    },
    onReady: function () {

    },
    onShow: function () {

    },
    onHide: function () {

    },
    onUnload: function () {

    },
    onPullDownRefresh: function () {

    },
    onReachBottom: function () {

    },
    onShareAppMessage: function () {

    },
    onPageScroll: function () {

    },
    //item(index,pagePath,text)
    onTabItemTap: function (item) {

    },
    //****************************************************** description ******************************************************//
    _navAction: function () {
        route.pop()
    },
    _click: function () {
        route.relaunch("../../pages/index/index", { userName: '99991111111****1111111' }, null, undefined, undefined)
    },
    _click2: function () {
        route.relaunch("../../pages/wallet/wallet", null, null, undefined, undefined)
    }
});